package top.llove.code.system.system.pojo;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.llove.framework.aspectj.lang.annotation.Excel;
import top.llove.framework.web.domain.BaseEntity;

/**
 * 文件上传对象 sys_file
 *
 * @author: 幸会
 * @date: 2021-12-19
 * @email: 1846724873@qq.com
 * @description: 文件上传对象 sys_file
 * @version: 1.0
 */
public class SysFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long fileId;

    /** 组名 */
    @Excel(name = "组名")
    private String groupName;

    /** 文件名 */
    @Excel(name = "文件名")
    private String fileName;

    /** 原文件名 */
    @Excel(name = "原文件名")
    private String fileOldName;

    /** 文件后缀 */
    @Excel(name = "文件后缀")
    private String fileExt;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private String fileSize;

    /** 文件链接 */
    @Excel(name = "文件链接")
    private String fileUrl;

    /** 文件说明 */
    @Excel(name = "文件说明")
    private String fileComment;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileOldName(String fileOldName) 
    {
        this.fileOldName = fileOldName;
    }

    public String getFileOldName() 
    {
        return fileOldName;
    }
    public void setFileExt(String fileExt) 
    {
        this.fileExt = fileExt;
    }

    public String getFileExt() 
    {
        return fileExt;
    }
    public void setFileSize(String fileSize) 
    {
        this.fileSize = fileSize;
    }

    public String getFileSize() 
    {
        return fileSize;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setFileComment(String fileComment) 
    {
        this.fileComment = fileComment;
    }

    public String getFileComment() 
    {
        return fileComment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("groupName", getGroupName())
            .append("fileName", getFileName())
            .append("fileOldName", getFileOldName())
            .append("fileExt", getFileExt())
            .append("fileSize", getFileSize())
            .append("fileUrl", getFileUrl())
            .append("fileComment", getFileComment())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
